/*
function processData( xmlHttp, intID )
{
  domain_ok = xmlHttp.responseText;
  alert (xmlHttp.responseText);
}
*/

function getData( objSelect )
{
    var strURL = "?action=check&module=domain&run=check&was=" + objSelect;
    return sendRequest( strURL, false );
}


function domain_check()
{
	domain_ok = getData(document.forms.neuer_account.domain_name.value);

	if (domain_ok == document.forms.neuer_account.domain_name.value)
	{
		alert ('Die eingegebene Domain existiert bereits. Bitte eine andere waehlen.');
		return false;
	}
	else
	{
		return true;
	}
}
